<include file='Common:header' />

<!-- /section:basics/navbar.layout -->
<div class="main-container" id="main-container">

    <!-- #section:basics/sidebar -->

    <include file='Common:left' />
    <!-- /section:basics/sidebar -->
    <div class="main-content">
        <div class="main-content-inner">
            <div class="page-content">
                <div class="row">
                    <div class="col-xs-12">
                        <div>
                            <form id="leftnav" name="leftnav" method="post" action="" >
                                <input type="hidden" name="checkk" id="checkk" value="1" /><!--用于判断操作类型-->
                                <table id="dynamic-table" class="table table-striped table-bordered table-hover">
                                    <thead>
                                    <tr>
                                        <th width='5%'></th>
                                        <th width="8%">房屋名</th>
                                        <th width="8%">房屋等级</th>
                                        <th width="8%">房屋样式</th>
                                        <th width="12%">房屋参数设置</th>
                                        <th width="8%">描述</th>
                                        <th width="22%" style="border-right:#CCC solid 1px;">操作</th>
                                    </tr>
                                    </thead>
                                    <tbody>
                                    <!--<tr>
                                        <td>1</td>
                                        <td>茅草屋12</td>
                                        <td>123</td>
                                        <td> <img src="/Public/UploadFiles_s/2017-06-08/5938ba568f733.png" width="50"></td>
                                        <td>{"crops":"11:300;12:300","diamond":"5001"}</td>
                                        <td>22233</td>
                                        <td>
                                            <div class="hidden-sm hidden-xs action-buttons">
                                                <a class="green" href="/admin.php/Land/house_edit/id/1.html" title="修改">
                                                    <i class="ace-icon fa fa-pencil bigger-130"></i>
                                                </a>
                                                <a class="red" href="javascript:;" onclick="return del(1);" title="删除">
                                                    <i class="ace-icon fa fa-trash-o bigger-130"></i>
                                                </a>
                                            </div>
                                        </td>
                                    </tr><tr>
                                        <td>2</td>
                                        <td>木板房</td>
                                        <td>2</td>
                                        <td> <img src="/Public/gold/img/default.png" width="50"></td>
                                        <td>11:20</td>
                                        <td>234324</td>
                                        <td>
                                            <div class="hidden-sm hidden-xs action-buttons">
                                                <a class="green" href="/admin.php/Land/house_edit/id/2.html" title="修改">
                                                    <i class="ace-icon fa fa-pencil bigger-130"></i>
                                                </a>
                                                <a class="red" href="javascript:;" onclick="return del(2);" title="删除">
                                                    <i class="ace-icon fa fa-trash-o bigger-130"></i>
                                                </a>
                                            </div>
                                        </td>
                                    </tr><tr>
                                        <td>3</td>
                                        <td>石头屋</td>
                                        <td>3</td>
                                        <td> <img src="/Public/gold/img/default.png" width="50"></td>
                                        <td>11:20</td>
                                        <td></td>
                                        <td>
                                            <div class="hidden-sm hidden-xs action-buttons">
                                                <a class="green" href="/admin.php/Land/house_edit/id/3.html" title="修改">
                                                    <i class="ace-icon fa fa-pencil bigger-130"></i>
                                                </a>
                                                <a class="red" href="javascript:;" onclick="return del(3);" title="删除">
                                                    <i class="ace-icon fa fa-trash-o bigger-130"></i>
                                                </a>
                                            </div>
                                        </td>
                                    </tr>-->
                                    <foreach name="lands" item="v">
                                        <tr>
                                            <td>{$v.id}</td>
                                            <td>{$v.land_member_id}</td>
                                            <td>{$v.land_number}</td>
                                            <td>{$v.land_crop}</td>
                                            <td>{$v.land_type}</td>
                                            <td>{$v.land_status}</td>
                                            <td>{$v.land_add_time}</td>
                                        </tr>
                                    </foreach>   
                                    <tr>
                                        <td colspan="7" align="right">{$page}</td>
                                    </tr>
                                    </tbody>
                                </table>
                            </form>
                        </div>
                    </div>
                </div>

                <include file='Common:header_nav' />

            </div><!-- /.page-content -->
        </div>
    </div><!-- /.main-content -->
 
    <include file='Common:footer' />

</div><!-- /.main-container -->
</body>
</html>
